package cn.lili.modules.member.entity.dto;

import cn.lili.common.vo.PageVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class UserQueryDTO extends PageVO {
    @ApiModelProperty("上级id")
    @NotEmpty(message = "店主id不可为空")
    private String parentId;
    @ApiModelProperty("用户id")
    private String userId;
    @ApiModelProperty(value = "昵称")
    private String nickName;
    @ApiModelProperty("是否是店长/分销员: 0,不是 1,是")
    private Integer isDistribution;
    @ApiModelProperty("账号account")
    private String account;

    @ApiModelProperty("成为城主的条件(下级店主数量)")
    private Integer subDistributionCount;
}
